cmake_minimum_required(VERSION 2.8)
project( Segments )

# configuration for OpenCV
find_package( OpenCV REQUIRED )

# executables
add_executable( test test.cpp segment.cpp segmentLibrary.cpp character.cpp rule.cpp shapeGrammar.cpp)
target_link_libraries( test ${OpenCV_LIBS} )

# set flags for debugging
set(CMAKE_CXX_FLAGS "-g -Wall -Wextra")
